﻿using Entity;
using System;
using System.Collections.Generic;


namespace IService
{
    public interface IInboundOrderService
    {
        /// <summary>
        /// 添加入库单及明细（使用你的实体类）
        /// </summary>
        Task AddInboundOrderAsync(InboundOrderEntity order, List<InboundOrderDetailEntity2> details);
        Task AddInboundOrderAsync2(InboundOrderEntity order, List<InboundOrderDetailEntity2> details);

        /// <summary>
        /// 分页查询入库单
        /// </summary>
        Task<(List<InboundQueryResult> Data, int Total)> QueryInboundPagedAsync(InboundQueryParam param);

        /// <summary>
        /// 入库单审核（含多表联动更新）
        /// </summary>
        Task AuditInboundOrderAsync(AuditRequest request);
    }
}
